package com.cqrt.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.cqrt.dto.PlanDeliveryCompleteInfoDTO;
import com.cqrt.entity.RTPreConstraintDO;
import com.github.pagehelper.PageInfo;
import com.hustcad.plm.pdm.container.model.vo.search.ProjectEntityVO;
import com.hustcad.plm.rpm.model.vo.base.EntityBaseVO;

import java.util.List;

public interface ProjectLinkService {
    PageInfo<ProjectEntityVO> searchAllProject(String keyword,String except, int page, int pageSize);

    void createProjectPlanLink(JSONObject params);

    PageInfo<RTPreConstraintDO> selectProjectPlanLinkByProjectId(String projectOid, int page, int pageSize);

    JSONObject queryChangeIssueListByParamsFromProject(EntityBaseVO baseVO, JSONObject jsonParams);

    List<PlanDeliveryCompleteInfoDTO> getPlanDeliveryCompleteStatus(String projectOid);

    JSONObject getProjectPlanCompareResult(String projectOid);

    void updateCriticalTaskState();

    JSONObject getProjectPlanByProjectOid(String projectOid);
}
